require './config/boot'
require './config/environment'

require 'clockwork'
include Clockwork
#require 'delayed_job'
#include Delayed

#handler { |job| Delayed::Job.enqueue(job) }

every(2.minutes, 'timesheets.check') { Delayed::Job.enqueue TimeSheetJob.new(1) }